function isnum(x) {

# Returns a positive value if string is numeric
# Michael S. Sanders
# license: GPL3
# example: if (! isnum(var)) {print "not a number"}

  return(x == x + 0)

}

# eof
